﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MiscResources
{
    public class InputCheck
    {
        private static char[] unsafeChar = {'<', '>', '-', ';', '%', '\''};

        public bool isSQLSafe(string inputString)
        {
            for (int i = 0; i < unsafeChar.Length; i++ )
            {
                if (inputString.Contains(unsafeChar[i])) return false;
            }

            return true;
        }
    }
}
